package com.leyou.item.mapper;

import com.leyou.common.mapper.BaseMapper;
import com.leyou.item.pojo.Brand;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface BrandMapper extends BaseMapper<Brand> {

    @Insert("insert into tb_category_brand (category_id,brand_id) values(#{categoryId},#{brandId})")
    int addCategoryBrand(@Param("brandId") Long brandId,@Param("categoryId") Long categoryId);
}
